require.config({
    baseUrl: '/',
    paths: {
        'jquery': 'libs/jquery/jquery-1.11.3.min',
        'header': 'js/modules/header',
        'footer': 'js/modules/footer',
        'template': 'libs/art-template/template-web',
        'request': 'js/request',
        'swiper': 'libs/swiper/swiper.min',
        'zoom': 'libs/jquery-plugins/jquery.elevateZoom-3.0.8.min',
        'fly': 'libs/jquery-plugins/jquery.fly.min',
        'bootstrap': 'libs/bootstrap/bootstrap.min',
        'distdata': 'libs/distpicker/distpicker.data',
        'dist': 'libs/distpicker/distpicker',
        'toTop': 'libs/jquery-plugins/jquery.toTop.min',
        'cookie': 'libs/jquery-plugins/jquery.cookie'
    },
    // 垫片：如果一个模块不满足AMD规范，并且要依赖另外一个模块
    shim: {
        'zoom': {
            deps: ['jquery']
        },
        'fly': {
            deps: ['jquery']
        },
        'bootstrap': {
            deps: ['jquery']
        },
        'distdata': {
            deps: ['jquery']
        },
        'dist': {
            deps: ['jquery']
        },
        'cookie': {
            deps: ['jquery']
        },
        'toTop': {
            deps: ['jquery']
        }
    }

})